<?php
namespace app\api\controller;
use app\backend\model\ZhCurrencySetu as ZhCurrencySetuModel;

class ZhConfig extends Common {

    function index(){
        $wxapp_id = $this->_data['wxapp_id'] ?? 0;
        $res = ZhCurrencySetuModel::where([
                                              'wxapp_id' => $wxapp_id
                                          ])->field('vip_url')->find();
        $data = [
            'vip_url' => $res['vip_url']
        ];
        return $this->ajaxReturn($this->successCode, '返回成功', $data);

    }
}